import request from '@/utils/request'

// 查询CRS列表
export function listCrsUser(query) {
    return request({
        url: '/bizsys/crsUser/list',
        method: 'get',
        params: query
    })
}

// 查询CRS详细
export function getCrsUser(id) {
    return request({
        url: '/bizsys/crsUser/' + id,
        method: 'get'
    })
}

// 新增CRS
export function addCrsUser(data) {
    return request({
        url: '/bizsys/crsUser',
        method: 'post',
        data: data
    })
}

// 修改CRS
export function updateCrsUser(data) {
    return request({
        url: '/bizsys/crsUser',
        method: 'put',
        data: data
    })
}

// 删除CRS
export function delCrsUser(id) {
    return request({
        url: '/bizsys/crsUser/' + id,
        method: 'delete'
    })
}

// 导出CRS
export function exportCrsUser(query) {
  return request({
    url: '/bizsys/crsUser/export',
    method: 'get',
    params: query
  })
}

  // 导ruCRS
  export function uplodatCrsUser(query) {
    return request({
      url: '/bizsys/crsUser/import',
      method: 'get',
      params: query
    })
}
